x86/vmx: Rename arch_vmx_struct to vmx_vcpu
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 28 Aug 2018 15:53:06 +0000 (15:53 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 31 Aug 2018 14:40:38 +0000 (15:40 +0100)
commit5f3d3a880b74a67f283281e493be87871ca4f555
treea740eff63c289f171f391d9fff1c9fa2ec1339c2
parentf99b99ed63812494634463c23e8055b75afe3cde
x86/vmx: Rename arch_vmx_struct to vmx_vcpu

The suffix and prefix are redundant, and the name is curiously odd.  Rename it
to vmx_vcpu to be consistent with all the other similar structures.  In
addition, rename local arch_vmx local variables to vmx for further
consistency.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
---
CC: Roger Pau Monné <roger.pau@citrix.com>
Some of the local pointers are named arch_vmx.  I'm open to renaming them to
just vmx (like all the other local pointers) if people are happy with the
additional patch delta.
xen/arch/x86/hvm/vmx/vmcs.c
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/hvm/vcpu.h
xen/include/asm-x86/hvm/vmx/vmcs.h